import com.aliyun.oss.ClientException;
import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.profile.DefaultProfile;

/**
 * @Author: JinChongLi
 * @Description:
 * @Date: Created in 14:21 2021/10/17
 * @Modified By:
 */
public class InitObject {
    public static DefaultAcsClient inintVodClient(String accessKeyId,String accessKeySecret)throws ClientException {
        String regionld="cn-shanghai";
        DefaultProfile profile = DefaultProfile.getProfile(regionld, accessKeyId, accessKeySecret);
        DefaultAcsClient defaultProfile = new DefaultAcsClient(profile);
        return defaultProfile;
    }

}
